@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import url("//at.alicdn.com/t/font_909428_5vu1g7k2qmn.css");

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

ul,li,dl,dt,dd,ol{
    list-style: none;
    margin: 0;
    padding: 0;
}

div:focus{
  outline: none;
 }

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  overflow:hidden;_zoom:1;
  //&::after {
  //  visibility: hidden;
  //  display: inline-block;
  //  font-size: 0;
  //  content: " ";
  //  clear: both;
  //  width:100%;
  //  height: 0;
  //}
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content{
  background: rgba(66,185,131,.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: .05rem;
  a{
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式  -2018-11-08 update j
.app-container {
  height: calc(100vh - 84px);
  width:100%;
  overflow: hidden;
  overflow-y: auto;
  padding:12px;
}
.app-container__header{
  position: absolute;
  z-index: 1000;
  left:0;
  top:0;
  margin:0;
  padding:0;
  width:100%;
  height:40px;
  background: #fff;
  box-shadow: #eee 0 5px 15px;
}
.app-container__header .fun-tabs{
  padding:0 20px;
}
.app-container__header .fun-tabs .el-tabs__nav-wrap::after{
  background-color: transparent;
}
.app-container__header .fun-tabs .el-tabs__item{
  font-size:16px;
  color:#8F8D8D;
}
.app-container__header .fun-tabs .el-tabs__item.is-active{
  color:#2BB89A;
}
.app-container__header .fun-tabs .el-tabs__active-bar{
  background-color: #2BB89A;
}
.app-container__body{
  padding:20px 20px 60px 20px;
  min-height: calc(100vh - 104px);
  background-color: #fff;
  border-radius:10px;
}
.app-container__body.is-has-header{ min-height:calc(100vh - 150px); margin-top:44px;}
.block-title{
  font-size: 16px;
  font-weight: bolder;
  color:#373737;
  margin-bottom:15px;
  line-height: normal;
  border-left:5px solid #2BB89A;
  text-indent: 10px;
}
.search-box{
  padding:20px 0 10px 0;
  margin-bottom:15px;
}
.search-box .btns{
  text-align: right;
}
.gridtable{
  width:100%;
}
.gridtable .opt-col .line{
  display: inline-block;
  padding:0 5px;
  color:#E5E5E4;
}
.gridtable .el-button--text,.gridtable .el-button i{
  color:#1D1D1D ;
  font-size:14px ;
}
.gridtable .el-button--text:hover,.gridtable .el-button:hover i{
  color:#2BB89A ;
}
.grid-pager{
  margin-top:20px;
  text-align: center;
}
.app-container__body .foot-btns{
  margin-top:30px;
  text-align: center;
}
.app-container__body .foot-btns .el-button{
  margin:0 10px;
}
.app-container .el-footer{
  position: absolute;
  z-index: 1000;
  left:0;
  bottom:0px;
  height:40px;
  width:100%;
  padding:10px 0;
  background-color: #fff;
  border-top:1px solid #eee;
  text-align: center;
  overflow: hidden;
  box-shadow: #eee 0 -5px 15px;
}
.default_tips{
  font-size: 13px;
  color:#999;
}

.edit-dialog .el-form-item::after,.edit-dialog .el-form-item::before,.edit-dialog .el-form-item__content::after,.edit-dialog .el-form-item__content::before,.edit-dialog .el-row::after,.edit-dialog .el-row::before{
  display:initial;
}
.edit-dialog .el-form-item{
  margin-bottom:16px;
}
//-------------  -2018-11-08 update jin end
.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.p-blue{
  color: #409EFF;
}
 .p-green{
  color: #33A84D;
}
.p-red{
  color: #FF4B10;
}
.user-login .el-input__inner{
  border: none;
}
.user-login input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset;
}

.createPost-main-container{padding: 40px 45px 20px 50px;}


//reset hooger 2018-11-13

.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #2BB89A;
    border-color: #2BB89A;
}
.el-checkbox__input.is-checked+.el-checkbox__label {
    color: #2BB89A;
}
.el-radio__input.is-checked .el-radio__inner {
    background-color: #2BB89A;
    border-color: #2BB89A;
}
.el-radio__input.is-checked+.el-radio__label {
    color: #2BB89A;
}


//layout  hooger 2018-11-13
.app-container__body .body_title{
    padding:0px 30px;
}
.app-container__body .body_title h3{
    font-size: 20px;
    color: #333;
    border-left:3px #2BB89A solid;
    padding-left:10px;
}
.app-container__body .body_content{
    padding: 20px 30px 0 30px;
}

.el-tabs .el-tabs__item{
    font-size: 16px;
    color: #666;
}
.el-tabs .el-tabs__item.is-active{
    color:#2BB89A;
}
.el-tabs .el-tabs__item:hover{
    color:#2BB89A;
}
.el-tabs .el-tabs__active-bar{
    background-color: #2BB89A;
}
.el-tabs .el-tabs__nav-wrap::after{
    height: 1px; 
}
